package com.hwq.springcloudeurekaclientfeign;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: hwq
 * @Date: 2019/12/17 9:21
 * @Version 1.0
 */
@RestController
@RequestMapping("/test1")
public class test {
    @Autowired
    private FeignService feignService;

    @GetMapping("/test1")
    public String test(String name){
        return feignService.sayStore(name);
    }
}
